package com.Entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Topicclassify entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "topicclassify", catalog = "monitor")
public class Topicclassify implements java.io.Serializable {

	// Fields

	private Integer topicClassifyId;
	private String topicClassifyName;

	// Constructors

	/** default constructor */
	public Topicclassify() {
	}

	/** minimal constructor */
	public Topicclassify(Integer topicClassifyId) {
		this.topicClassifyId = topicClassifyId;
	}

	/** full constructor */
	public Topicclassify(Integer topicClassifyId, String topicClassifyName) {
		this.topicClassifyId = topicClassifyId;
		this.topicClassifyName = topicClassifyName;
	}

	// Property accessors
	@Id
	@Column(name = "topicClassifyId", unique = true, nullable = false)
	public Integer getTopicClassifyId() {
		return this.topicClassifyId;
	}

	public void setTopicClassifyId(Integer topicClassifyId) {
		this.topicClassifyId = topicClassifyId;
	}

	@Column(name = "topicClassifyName", length = 200)
	public String getTopicClassifyName() {
		return this.topicClassifyName;
	}

	public void setTopicClassifyName(String topicClassifyName) {
		this.topicClassifyName = topicClassifyName;
	}

}